﻿using RearLivestock.Common.Domains.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RearLivestock.Common.Domains.hq
{
    /// <summary>
    /// 后裔期初
    /// </summary>
    public class PigBabys : BaseEntity
    {
        /// <summary>
        /// 主键id
        /// </summary>
        [Key]
        public int PigId { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string ? PigNo { get; set; }
        /// <summary>
        /// 期初日期
        /// </summary>
        public DateTime PigTime { get; set; }=DateTime.Now;
        /// <summary>
        /// 耳号
        /// </summary>
        public string ? Pigear { get; set; }
        /// <summary>
        /// 栋舍名称
        /// </summary>
        public int BedroomId { get; set; }

        /// <summary>
        /// 阶段
        /// </summary>
        public string  ?PigClass { get; set; }
        /// <summary>
        /// 体重
        /// </summary>
        public string ? Pigweight { get; set; }
        /// <summary>
        /// 栏位
        /// </summary>
        public string ? PigLanw { get; set; }
        /// <summary>
        /// 只数
        /// </summary>

        public int PigNum { get; set; }
    }
}
